package com.stm.bi.dto.cmd;

import com.stm.bi.constant.DictionaryConstants;
import com.stm.framework.annotation.ReqParam;
import java.lang.Long;
import java.lang.String;
import java.lang.Integer;

/**
* 报表模型维度-创建命令
*
* @author zhouyuanpeng
* @date 2025-05-22
*/
public class ReportDimensionAdd {

    @ReqParam(label = "维度ID")
    private Long id;

    @ReqParam(label = "报表模型ID")
    private Long modelId;

    @ReqParam(label = "维度行列模式", required = true)
    private String mode;

    @ReqParam(label = "维度分类", required = true, dictType = DictionaryConstants.DIMENSION_POOL)
    private String type;

    @ReqParam(label = "维度参数(逗号切割)", required = true)
    private String params;

    @ReqParam(label = "排序")
    private Integer idx;

    public Long getId() {
        return id;
    }

    public ReportDimensionAdd setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getModelId(){
        return this.modelId;
    }

    public ReportDimensionAdd setModelId(Long modelId){
        this.modelId = modelId;
        return this;
    }

    public String getMode(){
        return this.mode;
    }

    public ReportDimensionAdd setMode(String mode){
        this.mode = mode;
        return this;
    }

    public String getType(){
        return this.type;
    }

    public ReportDimensionAdd setType(String type){
        this.type = type;
        return this;
    }

    public String getParams() {
        return params;
    }

    public ReportDimensionAdd setParams(String params) {
        this.params = params;
        return this;
    }

    public Integer getIdx(){
        return this.idx;
    }

    public ReportDimensionAdd setIdx(Integer idx){
        this.idx = idx;
        return this;
    }

}
